src1=1.c
src2=2.c
names=1.c 2.c
name1=1.c
name?=x.c
all:
	echo $(patsubst %.c,%.o,$(src1))
	echo $(patsubst %.c,%.o,$(src2))
	for name in $(names); do echo $$name;done
	for tname in $(names); do set name=$$tname;echo $(name);done
	echo $(patsubst %.c,%.o,$(name1))
